{% extends "../layout/main.html" %}
{% block title %}福娃后台-信息{% end %}
{% block contents %}
<div class="row">
    <div class="col-lg-12">
        <h3 class="page-header">福娃详情</h3>
    </div>
    <!-- /.col-lg-12 -->
</div>
<!-- /.row -->
<div class="row">
    <div class="col-lg-12">
        <div class="panel panel-default">
            <div class="panel-heading">
                <strong>{{ fuwa['id'] }} 号福娃</strong>
            </div>
            <!-- /.panel-heading -->
            <div class="panel-body">
                <table class="table table-bordered">
                    <tr>
                        <td><strong>申请人:</strong></td>
                        <td>{{ fuwa['name'] }}</td>
                    </tr>
                    <tr>
                        <td><strong>性别:</strong></td>
                        <td>{{ fuwa['gender'] }}</td>
                    </tr>
                    <tr>
                        <td><strong>位置:</strong></td>
                        <td>{% if not fuwa.get('pos', False) %}
                            未藏
                            {% else %}
                            {{ fuwa['pos'] }}
                            {% end %}
                        </td>
                    </tr>
                    <tr>
                        <td><strong>是否被抓:</strong></td>
                        <td>{% if fuwa['creator'] == fuwa['owner'] %}
                            未被抓
                            {% else %}
                            已被抓
                            {% end %}
                        </td>
                    </tr>

                    {% if fuwa['htime'] %}
                    <tr>
                        <td><strong>藏时间:</strong></td>
                        <td>{{ fuwa['htime'] }}</td>
                    </tr>
                    {% end %}

                    <tr>
                        <td><strong>状态:</strong></td>
                        <td>{% if fuwa['awarded'] == '1' %}已兑奖{% else %}未兑奖{% end %}</td>
                    </tr>

                    {% if fuwa['htime'] %}
                    <tr>
                        <td><strong>介绍:</strong></td>
                        <td>{{ fuwa['detail'] }}</td>
                    </tr>
                    {% end %}

                </table>
            </div>
        </div>
    </div>
    <!-- /.col-lg-12 -->
</div>
<!-- /.row -->{% end %}